package com.ruoyi.enterprise.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 十大股东对象 com_holder_before10
 *
 * @author ruoyi
 * @date 2024-03-08
 */
public class ComHolderBefore10 extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 代码
     */
    @Excel(name = "代码")
    private String stockCode;

    /**
     * 名字
     */
    @Excel(name = "名字")
    private String stockName;

    /**
     * 排名
     */
    @Excel(name = "排名")
    private Long holderRank;

    /**
     * 名字
     */
    @Excel(name = "名字")
    private String holderName;

    /**
     * 持仓数量
     */
    @Excel(name = "持仓数量")
    private BigDecimal holdNum;

    /**
     * 持仓比例
     */
    @Excel(name = "持仓比例")
    private BigDecimal holdNumRatio;

    /**
     * 增减持
     */
    @Excel(name = "增减持")
    private String holdChange;

    /**
     * 变化率
     */
    @Excel(name = "变化率")
    private BigDecimal changeRatio;

    /**
     * 统计时间
     */
    @Excel(name = "统计时间")
    private String endDate;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTie;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public String getStockName() {
        return stockName;
    }

    public void setHolderRank(Long holderRank) {
        this.holderRank = holderRank;
    }

    public Long getHolderRank() {
        return holderRank;
    }

    public void setHolderName(String holderName) {
        this.holderName = holderName;
    }

    public String getHolderName() {
        return holderName;
    }

    public void setHoldNum(BigDecimal holdNum) {
        this.holdNum = holdNum;
    }

    public BigDecimal getHoldNum() {
        return holdNum;
    }

    public void setHoldNumRatio(BigDecimal holdNumRatio) {
        this.holdNumRatio = holdNumRatio;
    }

    public BigDecimal getHoldNumRatio() {
        return holdNumRatio;
    }

    public void setHoldChange(String holdChange) {
        this.holdChange = holdChange;
    }

    public String getHoldChange() {
        return holdChange;
    }

    public void setChangeRatio(BigDecimal changeRatio) {
        this.changeRatio = changeRatio;
    }

    public BigDecimal getChangeRatio() {
        return changeRatio;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setCreateTie(Date createTie) {
        this.createTie = createTie;
    }

    public Date getCreateTie() {
        return createTie;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("stockCode", getStockCode())
                .append("stockName", getStockName())
                .append("holderRank", getHolderRank())
                .append("holderName", getHolderName())
                .append("holdNum", getHoldNum())
                .append("holdNumRatio", getHoldNumRatio())
                .append("holdChange", getHoldChange())
                .append("changeRatio", getChangeRatio())
                .append("endDate", getEndDate())
                .append("createTie", getCreateTie())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
